<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<#include "/common/head.ftl" />
</head>

<body>
	<#include "/common/nav.ftl" />	
	
	<div class="container theme-showcase" role="main">
		<div class="clearfix">
			<!-- Split button -->
			<div class="btn-toolbar pull-right" role="toolbar">
				<div class="btn-group">
		    	
				</div>
			</div>
		</div>
	
        <div class="well well-sm">
			<form id="searchForm" action="${base}/userAll/query" method="post" role="form">
				<table>
					<tr>
						<td><label>用户名：</label></td>
						<td>
							<input type="text" name="eNameLike" class="form-control">
						</td>
						<td rowspan="2" class="action-group">
							<button type="submit" class="btn btn-primary">查询</button>
						</td>
					</tr>
				</table>
			</form>
		</div>

		<#if userList??>
		<div class="panel panel-default">	
			<div class="panel-heading">
              	<h3 class="panel-title">结果</h3>
            </div>
            <div class="panel-body">
            	<p class="bg-primary">共 ${userList?size} 条记录</p>
				<table class="table table-striped table-bordered table-hover">
					<thead>
					<tr>
						<th>英文名</th>
					</tr>
					</thead>
					<tbody>
						<#list userList as t>
							<tr>						
								<td>${t.eName!}</td>
							</tr>
						</#list>
					</tbody>
				</table>
			</div>
		</div>
		</#if>
	</div>
	<#include "/common/foot.ftl" />
	<script>
		$(function() {
			
			
			$('#searchForm').validate({
				rules: {
				}
			});
		});	
	</script>
</body>
</html>
